package com.iwomy.envpro.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 订单收件人
 *
 * @author pig
 * @date 2023-08-29 16:18:14
 */
@Data
@TableName("air_order_recipient")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "订单收件人")
public class AirOrderRecipientEntity extends Model<AirOrderRecipientEntity> {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	* 姓名
	*/
    @Schema(description="姓名")
    private String name;

	/**
	* 电话
	*/
    @Schema(description="电话")
    private String phone;

	/**
	* 站点标识符
	*/
    @Schema(description="站点标识符")
    private Long siteId;

	/**
	* 是否超过限制设置
	*/
    @Schema(description="是否超过限制设置")
    private Integer isOverLimitSetting;

	/**
	* 顺序号
	*/
    @Schema(description="顺序号")
    private Integer srNo;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;
 
	/**
	* delFlag
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="delFlag")
    private String delFlag;
}